﻿<%@ Page Language="VB" MasterPageFile="~/NavegacaoMaster.master" AutoEventWireup="false" CodeFile="Franquia.aspx.vb" Inherits="Franquia" title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:Label ID="lblTituloPagina" runat="server" Font-Bold="True" CssClass="titulo-pagina" />
  <asp:FormView ID="fv_Usuario" runat="server" DataKeyNames="IdFranquia" 
            Width="100%">
        <ItemTemplate>
          <div style="width: 73%; float: left;">
            <br />
            <strong>Nome: </strong>
            <asp:Label ID="lbl_Cpf" runat="server" Text='<%# Bind("Nome") %>' /><br />
            <strong>País: </strong>
            <asp:Label ID="lbl_Email" runat="server" Text='<%# Bind("Pais") %>' /><br />
            <strong>Estado: </strong>
            <asp:Label ID="lbl_Franquia" runat="server" Text='<%# Eval("Uf") %>' /><br />
            <strong>Cidade: </strong>
            <asp:Label ID="lbl_GrupoAcesso" runat="server" Text='<%# Eval("Cidade") %>' /><br />
            <strong>Endereço: </strong>
            <asp:Label ID="lbl_Pais" runat="server" Text='<%# Bind("Logradouro") %>' /><br />
            <strong>CEP: </strong>
            <asp:Label ID="lbl_Cep" runat="server" Text='<%# Bind("Cep") %>' /><br />
            <strong>Telefone: </strong>
            <asp:Label ID="lb_Uf" runat="server" Text='<%# Bind("Telefone") %>' /><br />
            <strong>Email: </strong>
            <asp:Label ID="lbl_Cidade" runat="server" Text='<%# Bind("Email") %>' /><br />
            <strong>Informações: </strong>
            <asp:Label ID="Label1" runat="server" Text='<%# Bind("Informacoes") %>' /><br />
          </div>
          <div style="width: 25%; float: right; text-align: right;">
            <asp:Image ID="img_Avatar" runat="server" ImageUrl='<%# "~/imagens/avatar/" & IIF(Eval("Avatar")="", "sem_avatar.jpg", Eval("Avatar")) %>'
              BorderWidth="1" AlternateText="" />
            <br />
          </div>
        </ItemTemplate>
        
      </asp:FormView>
</asp:Content>

